package com.h3c.ptability.dto;

import com.h3c.ptability.entity.PtApp;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginUserDTO implements Serializable {
    private String account;//域账号
    private String userId;//工号
    private String userName;//姓名
    private String phoneNo;//手机号；
    private String email;//邮箱；
    private Integer userRole;//用户角色
    /**
     * 有权限的app
     */
    private List<PtApp> apps;

    private String transToAccount;//域账号(当前模拟测试的域账号)

    private String mobileValidCode;
    private String encodeMobileNo;
    private String ticket;
    private String localUrl;
    private String code;   //登录验证code  201通过  202拒绝  203异常
    private String message;
    /**
     * 是否是预备员工获取ptToken
     */
    private Boolean isReserveStaff;
}